package com.sumi.erp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sumi.common.annotation.Excel;
import com.sumi.common.core.domain.BaseEntity;

/**
 * 虚拟仓库组对象 base_warehouse_group
 * 
 * @author fgf67@163.com
 * @date 2024-06-28
 */
public class BaseWarehouseGroup extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 虚拟仓库组id */
    private Long id;

    /** 公司父级id */
    @Excel(name = "公司父级id")
    private Long blocId;

    /** 公司id */
    @Excel(name = "公司id")
    private Long sellerId;

    /** 仓库组名称 */
    @Excel(name = "仓库组名称")
    private String groupName;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long createUid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBlocId(Long blocId) 
    {
        this.blocId = blocId;
    }

    public Long getBlocId() 
    {
        return blocId;
    }
    public void setSellerId(Long sellerId) 
    {
        this.sellerId = sellerId;
    }

    public Long getSellerId() 
    {
        return sellerId;
    }
    public void setGroupName(String groupName) 
    {
        this.groupName = groupName;
    }

    public String getGroupName() 
    {
        return groupName;
    }
    public void setCreateUid(Long createUid) 
    {
        this.createUid = createUid;
    }

    public Long getCreateUid() 
    {
        return createUid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("blocId", getBlocId())
            .append("sellerId", getSellerId())
            .append("groupName", getGroupName())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("createUid", getCreateUid())
            .toString();
    }
}
